package com.amado.course50java8.vo;

// javai optional
public class Goods {
	
	public Goods(GoodsCate goodsCate) {
		super();
		this.goodsCate = goodsCate;
	}
	public Goods() {
	}
	public Goods(String goodsName) {
		this.goodsName = goodsName;
	}
	private String goodsName;
	
	private GoodsCate goodsCate;

	public String getGoodsName() {
		return goodsName;
	}
	public void setGoodsName(String goodsName) {
		this.goodsName = goodsName;
	}
	public GoodsCate getGoodsCate() {
		return goodsCate;
	}

	public void setGoodsCate(GoodsCate goodsCate) {
		this.goodsCate = goodsCate;
	}

}
